package me.alex.threadpooldemo;

/**
 * ================================================
 * Description:
 * <p>
 * Created by Alex on 2021/4/21
 * <p>
 * 页面内容介绍:
 * <p>
 * ================================================
 */
public class Data {
    private int count;
    private CountChangeListener listener;

    public Data(int count, CountChangeListener listener) {
        this.count = count;
        this.listener = listener;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public CountChangeListener getListener() {
        return listener;
    }

    public void setListener(CountChangeListener listener) {
        this.listener = listener;
    }
}
